package com.wzj.manage.service.impl;

import com.wzj.manage.entity.Sign;
import com.wzj.manage.mapper.SignMapper;
import com.wzj.manage.service.SignService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wzj
 * @since 2021-04-12
 */
@Service
public class SignServiceImpl extends ServiceImpl<SignMapper, Sign> implements SignService {
    @Autowired
    public SignMapper signMapper;
    @Override
    public List<Map> selectSign() {
        List<Map> maps = signMapper.findSignAll();
        System.out.println(maps);
        return maps;
    }

    @Override
    public List<Map> findStatus(int status) {
        List<Map> maps=signMapper.findStatus(status);
        return maps;
    }
}
